<?php /*a:2:{s:113:"/www/wwwroot/dianshu/application/index/view/default/../../../plugins/view/expressforkdn/index/public/content.html";i:1568885128;s:71:"/www/wwwroot/dianshu/application/index/view/default/search/content.html";i:1568774834;}*/ ?>
<?php if(!empty($data)): foreach($data as $v): ?>
        <li class="am-animation-scale-up">
            <div class="items">
                <a href="<?php echo htmlentities($v['goods_url']); ?>" target="_blank" class="am-block">
                    <!-- 搜索页面商品信息顶部钩子 -->
                    <?php if(isset($shopxo_is_develop) and $shopxo_is_develop == true and (!isset($is_footer) or $is_footer == 1)): ?>
                        <div class="plugins-tag">
                            <span>plugins_view_search_goods_inside_top</span>
                        </div>
                    <?php endif; 
                        $hook_name = 'plugins_view_search_goods_inside_top';
                        $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
                        if(!empty($hook_data) && is_array($hook_data))
                        {
                            foreach($hook_data as $hook)
                            {
                                if(is_string($hook) || is_int($hook))
                                {
                                    echo htmlspecialchars_decode($hook);
                                }
                            }
                        }
                     ?>

                    <img src="<?php echo htmlentities($v['images']); ?>" alt="<?php echo htmlentities($v['title']); ?>" class="goods-images" />
                    <p class="am-text-truncate am-padding-xs goods-title" title="<?php echo htmlentities($v['title']); ?>"><?php echo htmlentities($v['title']); ?></p>
                </a>
                <p class="am-padding-horizontal-xs am-cf">
                    <?php if(isset($v['original_price']) and $v['original_price'] > 0): ?>
                        <span class="am-fl original-price">￥<?php echo htmlentities($v['original_price']); ?></span>
                    <?php endif; ?>
                    <span class="am-fr sales-count">销量 <?php echo htmlentities($v['sales_count']); ?></span>
                </p>

                <!-- 搜索页面商品信息售价顶部钩子 -->
                <?php if(isset($shopxo_is_develop) and $shopxo_is_develop == true and (!isset($is_footer) or $is_footer == 1)): ?>
                    <div class="plugins-tag">
                        <span>plugins_view_search_goods_inside_price_top</span>
                    </div>
                <?php endif; 
                    $hook_name = 'plugins_view_search_goods_inside_price_top';
                    $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
                    if(!empty($hook_data) && is_array($hook_data))
                    {
                        foreach($hook_data as $hook)
                        {
                            if(is_string($hook) || is_int($hook))
                            {
                                echo htmlspecialchars_decode($hook);
                            }
                        }
                    }
                 ?>

                <p class="price am-padding-horizontal-xs am-text-truncate">
                    <strong>￥<?php echo htmlentities($v['price']); ?></strong>
                </p>

                <!-- 搜索页面商品信息底部钩子 -->
                <?php if(isset($shopxo_is_develop) and $shopxo_is_develop == true and (!isset($is_footer) or $is_footer == 1)): ?>
                    <div class="plugins-tag">
                        <span>plugins_view_search_goods_inside_bottom</span>
                    </div>
                <?php endif; 
                    $hook_name = 'plugins_view_search_goods_inside_bottom';
                    $hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods_id'=>$v['id'], 'goods'=>$v]);
                    if(!empty($hook_data) && is_array($hook_data))
                    {
                        foreach($hook_data as $hook)
                        {
                            if(is_string($hook) || is_int($hook))
                            {
                                echo htmlspecialchars_decode($hook);
                            }
                        }
                    }
                 ?>
            </div>
        </li>
    <?php endforeach; ?>
<?php endif; ?>